{tpl head}
<div class="searchbar">
  <form action="?" method="get" name="searchListForm">
    <input type="hidden" name="c" value="goods">
    <select class="auto" name="search[pay_status]">
      <option value="">选择支付状态</option>
      <option value="0">未支付</option>
      <option value="1">已支付</option>
    </select>
    <select class="auto" name="search[distribution_status]">
      <option value="">选择发货状态<</option>
      <option value="1" {if $distribution_status==1}selected="selected"{/if}>上架</option>
      <option value="2" {if $distribution_status==2}selected="selected"{/if}>下架</option>
      <option value="3" {if $distribution_status==3}selected="selected"{/if}>待审</option>
    </select>
    <select class="auto" name="search[status]">
      <option value="">选择订单状态</option>
      <option value="1">新订单</option>
      <option value="2">确认订单</option>
      <option value="3">取消订单</option>
      <option value="4">作废订单</option>
      <option value="5">完成订单</option>
      <option value="6">退款</option>
      <option value="7">部分退款</option>

    </select>
    <select class="auto" name="search[name]">
      <option value="">选择订单条件</option>
      <option value="accept_name">收件人姓名</option>
      <option value="order_no">订单号</option>
      <option value="seller_name">商户真实名称</option>
    </select>
    <input class="small" name="search[keywords]" type="text" value="" />

    <button class="btn" type="submit" onclick="changeAction(false)"><span class="sel">筛 选</span></button>
    <!--<button class="btn" onclick="changeAction(true)"><span class="sel">导出Excel</span></button>-->
  </form>
</div>
<table class="new_table" width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
	<thead>
<tr class="n_bt"><td colspan="8" align="center">工作小助手系统</td></tr>
  <tr>
  <td height="28" align="center"  class="thbt">ID</td>
    <td height="28" align="center"  class="thbt">订单号</td>
    <td height="28" align="center"  class="thbt">收货人</td>
    <td height="28" align="center"  class="thbt">支付状态</td>
    <td height="28" align="center"  class="thbt">发货状态</td>
    <td height="28" align="center"  class="thbt">订单详情</td>
    <!--<td height="28" align="center"  class="thbt">配送方式</td>-->
    <td height="28" align="center"  class="thbt">操作</td>
 
  </tr></thead>
{loop $order_list $v}
    <tr width='4%' align="center" >
      <td><input name="id[]" type="checkbox" value="{$v.id}>">{$v.id}</td>
      <td height="20" align="left">{$v.order_no}</td>
      <td>{$v.nickname}</td>
      <td>{$v.pay_status}</td>
      <td>{$v.distribution_status}</td>
      <td><a href="?c=order&a=xq&id={$v.id}">查看</a> </td>
      <td><a class="mod" href="?c={$classname}&a=info&id={$v.id}">修改</a>
        <a class="del" href="?c={$classname}&a=del&id={$v.id}">删除</a></td>
      </td>
    </tr>
    {/loop}
</table>
<div class="pages">{$pagelist}</div>
{tpl foot}